<%@ page import="Example1.Exam5" %>
<%@ page import="Example1.Student" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: wqe
  Date: 2023/5/7
  Time: 16:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        .row{
            display: flex;
        }
    </style>
</head>
<body>
    <%!
       List<Student> students = Exam5.getMess();
    %>
    <div class="row">
        <div>id</div>
        <div>name</div>
    </div>
    <c:forEach var="student" item="${students}">
        <div class="row">
            <div>${student.getId()}</div>
            <div>${student.getName}</div>
        </div>
    </c:forEach>
</body>
</html>
